package org.budo.kafka.jdbc.driver;

import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;

import org.budo.jdbc.driver.AbstractBudoJdbcConnection;

/**
 * @author lmw
 */
public class BudoKafkaJdbcConnection extends AbstractBudoJdbcConnection {
    @Override
    public Statement createStatement() throws SQLException {
        return new BudoKafkaJdbcStatement();
    }

    @Override
    public DatabaseMetaData getMetaData() throws SQLException {
        return new BudoKafkaJdbcDatabaseMetaData();
    }

    @Override
    public PreparedStatement prepareStatement(String sql) throws SQLException {
        return new BudoKafkaJdbcPreparedStatement();
    }
}